﻿using System;
using System.Collections.Generic;

namespace Sdari.Api.DbModel;

public partial class ConsumerInfo
{
    public Guid Uid { get; set; }

    public int Id { get; set; }

    public string Name { get; set; }

    public string ClientId { get; set; }

    public string Secret { get; set; }

    public byte[] Ipv4 { get; set; }

    public byte[] Ipv6 { get; set; }

    public string Description { get; set; }

    public string Creator { get; set; }

    public DateTime? CreateDate { get; set; }

    public string LastUpdater { get; set; }

    public DateTime? LastUpdatedDate { get; set; }

    public virtual ICollection<ApiConsumerAccess> ApiConsumerAccess { get; set; } = new List<ApiConsumerAccess>();

    public virtual ICollection<CallingLog> CallingLog { get; set; } = new List<CallingLog>();

    public virtual ICollection<TokenInfo> TokenInfo { get; set; } = new List<TokenInfo>();
}
